@import "../../styles/base";

.product-filter-container {
  position: relative;
  display: flex;
  justify-content: space-around;
  width: 100%;
  background-color: $bg-color-base;
  // border-top: 1px solid $border-color-dark;
  // border-bottom: 1px solid $border-color-dark;
  transition: all .3s ease-out;

  .item {
    position: relative;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    padding-top: 29px;
    padding-bottom: 23px;
    font-size: 0;
    color: $font-color-dark;

    .text {
      font-size: 28px;
      line-height: 28px;
    }

    .iconfont {
      margin-left: 10px;
      font-size: 40px;
      line-height: 40px;
      transition: all 0.3s ease-out;
    }

    .icon-filter {
      font-size: 28px;
      line-height: 28px;
    }

    .number {
      font-size: 26px;
      line-height: 1.2;
      display: block;
      height: 30px;
      width: 30px;
      border: none;
      border-radius: 50%;
      color: $font-color-light;
      background-color: $color-primary;
      text-align: center;
      margin-right: 7px;
    }

    .down {
      transform: rotate(180deg);
    }

    .active {
      color: $color-primary !important;
    }
  }

  .menu {
    display: block;
    position: absolute;
    top: 84px;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, .7);
    z-index: 999;
    overflow: hidden;
    transition: top .3s ease-out;
  }

  .hide {
    height: 0;
    min-height: 0;
  }
}

.fixed-top {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  margin-top: 0;
  box-shadow: 0 3px 5px rgba(200, 200, 200, .8);
}
